//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package com.abc.pay.client.ebpp;
import com.abc.pay.client.Base64;
import com.abc.pay.client.XMLDocument;

import java.util.ArrayList;
public class QueryRequestBean implements IPaymentMerchant {
  private String iBillerNo = "";
  private String iBillerBillTypeName = "";
  private String iBillerBillTypeNo = "";
  private String iPayerValue1 = "";
  private String iPayerValue2 = "";
  private String iPayStatus = "";
  private ArrayList iVerifyDomain = new ArrayList();
  public QueryRequestBean(XMLDocument tEBPPData) {
    this.setBillerNo(tEBPPData.getValueNoNull("BillerNo"));
    this.setBillerBillTypeName(tEBPPData.getValueNoNull("BillerBillTypeName"));
    this.setPayerValue1(tEBPPData.getValueNoNull("PayerValue1"));
    this.setPayerValue2(tEBPPData.getValueNoNull("PayerValue2"));
    this.setPayStatus(tEBPPData.getValueNoNull("PayStatus"));
    this.setVerifyDomain(tEBPPData.getValueNoNull("VerifyDomain"));
  }
  public String getBillerNo() {
    return this.iBillerNo;
  }
  public void setBillerNo(String aBillerNo) {
    this.iBillerNo = aBillerNo;
  }
  public String getBillerBillTypeName() {
    return this.iBillerBillTypeName;
  }
  public void setBillerBillTypeName(String aBillerBillTypeName) {
    this.iBillerBillTypeName = aBillerBillTypeName;
  }
  public String getBillerBillTypeNo() {
    return this.iBillerBillTypeNo;
  }
  public void setBillerBillTypeNo(String aBillerBillTypeNo) {
    this.iBillerBillTypeNo = aBillerBillTypeNo;
  }
  public String getPayerValue1() {
    return this.iPayerValue1;
  }
  public void setPayerValue1(String aPayerValue1) {
    this.iPayerValue1 = aPayerValue1;
  }
  public String getPayerValue2() {
    return this.iPayerValue2;
  }
  public void setPayerValue2(String aPayerValue2) {
    this.iPayerValue2 = aPayerValue2;
  }
  public String getPayStatus() {
    return this.iPayStatus;
  }
  public void setPayStatus(String aPayStatus) {
    this.iPayStatus = aPayStatus;
  }
  public ArrayList getVerifyDomain() {
    return this.iVerifyDomain;
  }
  public void setVerifyDomain(String aVerifyDomain) {
    XMLDocument tVerifyDomain = new XMLDocument(aVerifyDomain);
    String tVerifyValue = null;
    for (int i = 1; i < 10; ++i) {
      tVerifyValue = tVerifyDomain.getValueNoNull("VerifyName" + i);
      if (tVerifyValue == null || tVerifyValue.equals("")) {
        break;
      }
      this.iVerifyDomain.add(tVerifyValue);
    }
  }
  public static void main(String[] str) throws Exception {
    QueryRequestBean tBean = new QueryRequestBean(new XMLDocument(new String((new Base64()).decode("PEJpbGxlcj48QmlsbGVyTm8+MTAwMDAwMDAwMDAwMDAwPC9CaWxsZXJObz48L0JpbGxlcj48Q29uZGl0aW9ucz48QmlsbGVyQmlsbFR5cGVOYW1lPrXnt9E8L0JpbGxlckJpbGxUeXBlTmFtZT48UGF5ZXJWYWx1ZTE+uajP/svJPC9QYXllclZhbHVlMT48UGF5ZXJWYWx1ZTI+ztLKx7un1vc8L1BheWVyVmFsdWUyPjxQYXlTdGF0dXM+MTwvUGF5U3RhdHVzPjxWZXJpZnlEb21haW4+PC9WZXJpZnlEb21haW4+PC9Db25kaXRpb25zPg=="), "gb2312")));
    ArrayList tlist = tBean.getVerifyDomain();
    System.out.println(tBean.getBillerBillTypeName());
    System.out.println(tBean.getBillerBillTypeNo());
    System.out.println(tBean.getBillerNo());
    System.out.println(tBean.getPayerValue1());
    System.out.println(tBean.getPayerValue2());
    System.out.println(tBean.getPayStatus());
    System.out.println(new String((new Base64()).decode("PEJpbGxlcj48QmlsbGVyTm8+MTAwMDAwMDAwMDAwMDAwPC9CaWxsZXJObz48L0JpbGxlcj48Q29uZGl0aW9ucz48QmlsbGVyQmlsbFR5cGVOYW1lPrXnt9E8L0JpbGxlckJpbGxUeXBlTmFtZT48UGF5ZXJWYWx1ZTE+uajP/svJPC9QYXllclZhbHVlMT48UGF5ZXJWYWx1ZTI+ztLKx7un1vc8L1BheWVyVmFsdWUyPjxQYXlTdGF0dXM+MTwvUGF5U3RhdHVzPjxWZXJpZnlEb21haW4+PC9WZXJpZnlEb21haW4+PC9Db25kaXRpb25zPg=="), "gb2312"));
    for (int i = 0; i < tlist.size(); ++i) {
      System.out.println(tlist.get(i));
    }
    System.out.println(tlist.size());
  }
}
